﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using RoverStudio.Math;

namespace PositionSource.WebCam.Interfaces
{
    public interface ILedPositionExtractor
    {
        Vector2D[] GetLEDPositionsFromImage(ref Bitmap image);
    }

    public interface ITransformationCalculator
    {
        void SetFeatureModelCoordinates(Vector3D[] featureModelCoordinates);
        void SetCameraParameters(double[,] intrinsicMatrix, double[,] distortionCoeffs);
        void CalculateTransformation(Vector2D[] featureImageCoordinates, out Vector3D position, out Rotation orientation);
    }
}
